define(['vue','vue-resource','ks-verify'], function (Vue,VR,ksv) {
    var model = {};

    model.init = function (m) {




       ksv.run();

        // var Vue = require('vue');
        Vue.use(VR);
        Vue.http.options.emulateJSON=true;
        var vue=new Vue({
            // delimiters: ['<!--{{', '}}-->'],
            'el':'#ele',
            data: {
                message: 'Hello Vue!',
                data:{}
            },
            created:function () {
                var url="http://bm.com/wechat.php/index/index/json";

                this.$http.get(url).then(function(data){
                    // console.log(data.body);
                },function(response){
                    console.info(response);
                })
            }
        });



        // console.log(m.id);
        // console.log($("#div").html());
    }

    return model
})